build: Error if glib isn't found
authorColin Walters <walters@verbum.org>
Thu, 8 Dec 2016 18:38:49 +0000 (13:38 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 9 Dec 2016 16:35:52 +0000 (16:35 +0000)
This is a bit extracted from my work on ASAN.

Closes: #625
Approved by: jlebon

configure.ac

index ff27b0a06dac36c7d75e6adfb750073a209f7dc1..4e004ca6be649b257346b0c6c55e30280ee8f21e 100644 (file)
@@ -53,7 +53,7 @@ AS_IF([test "$YACC" != "bison -y"], [AC_MSG_ERROR([bison not found but required]
 
 PKG_PROG_PKG_CONFIG
 
-AM_PATH_GLIB_2_0
+AM_PATH_GLIB_2_0(,,AC_MSG_ERROR([GLib not found]))
 
 dnl When bumping the gio-unix-2.0 dependency (or glib-2.0 in general),
 dnl remember to bump GLIB_VERSION_MIN_REQUIRED and